package com.neulogistics.contrib.usercenter.api.application.command;

import com.blackto.lib.mediat.unicast.IRequest;
import com.neulogistics.contrib.usercenter.api.application.viewmodel.LoginUserViewModel;
import com.neulogistics.infrastructure.common.serviceresult.BaseResponse;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

@Data
public class LogoutCommand implements IRequest<BaseResponse>, Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @NotNull
    @Positive
    public Integer userId;

}
